<template>
  <div class="account-container">
    <div class="content">
      <el-container>
        <el-header>
          <Header></Header>
        </el-header>
        <el-main>
          <router-view />
        </el-main>
        <el-footer>
          <Footer></Footer>
        </el-footer>
      </el-container>
    </div>
  </div>
</template>

<script>
import Header from "@/components/Header.vue";
import Footer from "@/components/Footer.vue";
export default {
  name: "Index",
  components: {
    Header,
    Footer,
  },
  setup() {},
};
</script>

<style scoped>
.content {
  position: relative;
  height: 100%;
  background-color: #fff;
  width: 1190px;
  margin: 35px auto;
  border-radius: 16px;
}
.el-header {
  box-sizing: border-box;
  height: 100px;
  background-color: #fff;
  text-align: center;
  line-height: 100px;
  border-radius: 16px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 1px solid rgba(242, 242, 242, 1);
  padding: 0 60px 0 60px;
}
.el-main {
  height: 100%;
  padding: 40px 60px 40px 60px;
}
.el-footer {
  height: 158px;
  width: 100%;
  background-color: #fff;
  border-radius: 16px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-top: 1px solid rgba(242, 242, 242, 1);
}
.main {
  width: 100%;
}
.nav {
  float: left;
}
li {
  display: inline-block;
  margin-left: 20px;
}
</style>
